#include "drogon/drogon.h"
#include "JobManager.h"
#include "WeatherTimer2.h"
#include "WeatherTimer3.h"

#if defined(_MSC_VER)
#ifndef OCPP_ControllerZJ_EXPORTS
#define _WeatherExport  __declspec(dllimport)
#else
#define _WeatherExport  __declspec(dllexport)
#endif
#else
#define _WeatherExport
#endif


#ifndef OC_STATIC_LIB
extern "C" void _WeatherExport dllStartPlugin();
extern "C" void _WeatherExport dllStopPlugin();

JobManager* gJobManager = NULL;
extern "C" void _WeatherExport dllStartPlugin()
{
	gJobManager = CORE_NEW JobManager;
	gJobManager->start();
}
extern "C" void _WeatherExport dllStopPlugin()
{
	CORE_SAFE_DELETE(gJobManager);
}

#endif
